﻿using System;
using System.Collections.Generic;

using System.Text;

namespace TimKen.DataEntity
{
    /// <summary>
    /// 特定价格类型
    /// </summary>
    public enum SpecialPriceType 
    {
        Discount,
        SpecialPrice
    }

        /// <summary>
        /// 实体类SpecialPrice 。(属性说明自动提取数据库字段的描述信息)
        /// </summary>
        public class SpecialPrice
        {
            public SpecialPrice()
            { }
            #region Model
            private int _customertid;
            private int _productid;
            private decimal? _specialdiscount;
            private decimal? _specialprice;
            private int? _specialtype;
            /// <summary>
            /// 客户ID
            /// </summary>
            public int CustomertID
            {
                set { _customertid = value; }
                get { return _customertid; }
            }
            /// <summary>
            /// 产品ID
            /// </summary>
            public int ProductID
            {
                set { _productid = value; }
                get { return _productid; }
            }
            /// <summary>
            /// 特殊折扣
            /// </summary>
            public decimal? SpecialDiscount
            {
                set { _specialdiscount = value; }
                get { return _specialdiscount; }
            }
            /// <summary>
            /// 特殊价格
            /// </summary>
            public decimal? Price
            {
                set { _specialprice = value; }
                get { return _specialprice; }
            }
            /// <summary>
            /// 采用特殊价格还是采用特殊折扣
            /// </summary>
            public int? SpecialType
            {
                set { _specialtype = value; }
                get { return _specialtype; }
            }
            #endregion Model

        }
    
}
